using System;

namespace Me.Prettyprint.Cassandra.Connection
{
	/// <summary>
	/// For now the basic metric for a connection pool is number of active
    /// connections, idle connections and blocked threads. It might be good
    /// to have other metrics in the future, for now it's minimal.
	/// </summary>
	public interface PoolMetric
	{
		int NumActive
		{
			get;
		}
		int NumIdle
		{
			get;
		}
		int NumBlockedThreads
		{
			get;
		}
		string Name
		{
			get;
		}
		bool IsActive
		{
			get;
		}
	}
}